import wmcRequest from '..'

export function generate(
  projectName: string,
  projectModuleName: string,
  type: number,
  outputUrl: string
): any {
  console.log(projectName, projectModuleName, type, outputUrl)
  return wmcRequest.post({
    url: `/generate`,
    params: {
      projectName,
      projectModuleName,
      type,
      outputUrl
    }
  })
}
